home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5768 < prev    next >
Encoding:
Text File  |  1996-08-05  |  3.5 KB  |  95 lines

  1. Path: news.mathworks.com!gatech!gt-news!james
  2. From: james@amber.biology.gatech.edu (James McIninch)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Followup-To: comp.lang.ada,comp.lang.c,comp.lang.c++
  6. Date: 6 Feb 1996 19:01:35 GMT
  7. Organization: Georgia Institute of Technology
  8. Distribution: world
  9. Message-ID: <4f88if$94o@mordred.gatech.edu>
  10. References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com> <3114d8fb.5a455349@zesi.ruhr.de> <4f85h4$cml@hacgate2.hac.com>
  11. NNTP-Posting-Host: exon.biology.gatech.edu
  12. X-Newsreader: TIN [version 1.2 PL2]
  13.  
  14. Ron Collins (collins@thor.tu.hac.com) wrote:
  15. : Haug Buerger (haug@zesi.ruhr.de) wrote:
  16.  
  17. : : Would you say Borland C/C++ is a professional compiler? It's
  18. : : cheap, that's true but that's all. It's not eaven a real ANSI C
  19. : : compiler. Some funktions do not work like the ANSI standard says
  20. : : and it's documented. Everybody thinks it's an ANSI C compiler
  21. : : because there is no test suite for ANSI C and everybody can say
  22. : : he has an ANSI C compiler.
  23.  
  24. : : C++ has no real standard and most source is not portable. It's
  25. : : missing a test suite, too.
  26.  
  27. : : I would like to know how many of these 900 platforms have a real
  28. : : ANSI C compiler. My experiance is that most non trivial C code is
  29. : : not portable and needs lots of modifications. C++ is worse.
  30.  
  31. : : Haug
  32.  
  33.  
  34. : I think you're missing the point.  I can buy a C/C++ compiler for a few 
  35. : hundred $$ for just about any platform I can think of.  I can get a
  36. : professional quality C/C++ compiler (GCC) for free for a lot of platforms.
  37. : And I can use these compilers to write very usefull programs.  Being
  38. : ANSI compliant is nice, but not critical.
  39.  
  40. : An Ada compiler is, by comparison, extremely expensive. And it is not
  41. : available for quite a few of the machines that I've had to work with.
  42. : (Example: there was no Ada compiler available for the MAC 3 years ago; I
  43. : don't know if one is available now.  But that job is over, and it was
  44. : written in the MAC version of C.  So what if it's not portable?  It only
  45. : has to run on a MAC).
  46.  
  47.  
  48. A couple of things to keep in mind. There's a cost-free Ada compiler avail-
  49. able called GNAT, and that many military applications and contracts require
  50. that software be written in Ada (for a whole slew of reasons). For the uses
  51. desired by the military and many mission critical industrial concerns, Ada
  52. is a far superior language. Granted, I wouldn't want to use it for my
  53. various programming chores, but if I had an application that Ada would be
  54. suited to I might just give it a go.
  55.  
  56. It should be noted that the GNU Ada compiler is closer to the Ada 95 spec than
  57. the GNU C++ compiler is to the proposed ANSI standard spec (that's quickly
  58. changing but still holds).
  59.  
  60.  
  61.  
  62. : I really don't care how good Ada is.  If I can't find it, or my company
  63. : can't afford it, it's totally useless to me.
  64.  
  65. If you'd like to play around with GNAT, you can fetch it from cs.nyu.edu in
  66. the /pub/nat directory. You'll find the sources for the compiler and binaries
  67. for:
  68.     Solaris x86
  69.     Windows 95 / Windows NT (x86)
  70.     Linux (a.out)
  71.     MS-DOS
  72.     NetBSD (i386)
  73.     Ultrix (Dec)
  74.     OS/2
  75.     HP PA-RISC (HPUX)
  76.     Linux ELF
  77.     DEC Alpha (OSF)
  78.     SGI Irix 5.3
  79.     SPARC Solaris
  80.     SPARC SunOS    
  81.  
  82. GNAT is built on top of the GNU GCC 2.7.2 compiler.
  83.  
  84.  
  85. :                         -- Collins --
  86. :                         
  87. : -----
  88. : The views expressed here are mine alone.
  89.  
  90. : Ron Collins/Hughes Aircraft Company/M20,P20/Tucson Az 85706
  91. : rcollins@thor.tu.hac.com    collins@seagull.rtd.com
  92. : ยก----
  93.  
  94.  
  95.